package connector;

import java.io.IOException;

/**
 * @ClassName : Endpoint
 * @Description : Endpoint用来处理底层Socket的网络连接，是用来实现TCP/IP协议的
 * @Author : zhangxiaohai
 * @Date: 2021-06-24 08:18
 */
public interface Endpoint {
    void setProtocolHandler(ProtocolHandler protocolHandler);

    void init() throws IOException, IOException;

    void start() throws IOException;

    void bind() throws IOException;
}
